import { isBrowser } from "./isBrowser";

export const setToken = (token: string) => {
  return isBrowser && localStorage.setItem('token', token)
}

export const getToken = () => isBrowser && localStorage.getItem('token')
export const cleanToken = () => isBrowser && localStorage.removeItem('token')